<template>
	<view class="container">
		<view class="nav-card" @click="goToMyOrders">
			<text class="nav-title">我的订单</text>
			<text class="nav-desc">查看所有订单状态</text>
			<text class="nav-arrow">›</text>
		</view>
	</view>
</template>

<script>
export default {
	methods: {
		goToMyOrders() {
			uni.navigateTo({
				url: '/pages/order/my-orders'
			})
		}
	}
}
</script>

<style scoped lang="scss">
.container {
	padding: 40rpx;
	background-color: #f5f5f5;
	min-height: 100vh;
}

.nav-card {
	background-color: #fff;
	border-radius: 16rpx;
	padding: 40rpx;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);
}

.nav-title {
	font-size: 32rpx;
	font-weight: bold;
	color: #333;
}

.nav-desc {
	font-size: 24rpx;
	color: #666;
	margin-left: 20rpx;
}

.nav-arrow {
	font-size: 36rpx;
	color: #999;
	font-weight: bold;
}
</style> 